<script setup lang="ts">
import {useRoute, useRouter} from "vue-router";
import {onMounted} from "vue";

const route = useRoute()
const {title} = route.meta
onMounted(()=>{
  console.log()
})

</script>

<template>
<div>
  <el-breadcrumb separator="/">
    <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
    <el-breadcrumb-item>{{title}}</el-breadcrumb-item>
  </el-breadcrumb>
</div>
</template>

<style scoped>

</style>